<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
	<TR>
		<TD class="N-TopLineBG"><IMG SRC="?drawimage=images/spacer.gif" WIDTH="10" HEIGHT="10"></TD>
    </TR>
    <TR >
		<TD >
			<TABLE cellspacing="1" cellpadding="5" border="0" width="100%">
				<TR Class="N-MainBGColor">
					<TD colspan="2" ><font class="heading2">Alternate Resource Allocation </Font>
					</TD>
				</TR>
				<TR  CLASS="N-ListBGCOLORCOL1" >
					<TD width="49%" >
						<span class="runtext1"><span> Group By Workflow Type
						</span></span>
					</TD>
          			<TD width="51%" >
          				<span class="runtext1">
							<%#WorkFlowType%>
						</span>
					</TD>
				</TR>
				<TR CLASS="N-ListBGCOLORCOL2">
					<TD>
						<span class="runtext1"><span> Select Resource </span></span>
					</TD>
					<TD >
						<TABLE cellspacing=0 cellpadding=0 width='100%' border=0>
							<TR>
								<TD colspan=2>
									<TABLE border=0 width=100%>
										<TR>
											<TD
												<span class="runtext1">
													<INPUT type=checkbox name="ChkInteger" value="1" ID="Checkbox1" <%#ChkIntegerChecked%>>ID Search
												</SPAN>
											</TD>
											<TD>
												<span class="runtext1">
													<INPUT type=checkbox name="ChkString" value="1" ID="Checkbox2" <%#ChkStringChecked%>>Name Search
												</SPAN>
											</TD>
										</TR>
									</TABLE>
								</TD>
							</TR>
							<TR>
								<TD>
									<span class="inputs">
									<%#Resource%>
									</SPAN>
								</TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR Class="N-MainBGColor">
					<TD Colspan="2" align="center">
						<INPUT TYPE="submit" value="Submit" class="button2" <%#SubmitButton%> onclick="return validate()">
					</TD>
				</TR>
			</TABLE>
		</TD>
	</TR>
	<TR>
      <TD Class = "N-LogoBG"><IMG SRC="?drawimage=images/spacer.gif" WIDTH="10" HEIGHT="10"><font class=errmessage><%#ErrorMessage%></font></TD>
    </TR>
</TABLE>
    <script>
    	function validate()
    	{
    		if(document.getElementsByTagName("select")["selWorkFlowType"].value == 0)
    		{
    			alert('Please select workflow type.');
    			return false;
    		}
    		if(typeof(document.getElementsByTagName("select")["selectedResource"]) == "undefined")
    		{
    			alert('Please set an alternate resource.');
    			return false;

    		}
    	}
    </script>
<TABLE border=0 cellspacing=1 cellpadding=6 width=100%>
	<TR >
		<TD Colspan=3 >
			<div id=PropertyDiv_ctl1 style='OVERFLOW: auto; WIDTH: 100%; POSITION: static;height=100'>
			<table border=0 cellspacing=1 cellpadding=3 width=100% >
				<TR Class="N-MainBGColor" >
					<TD width="39%" Class="N-MainBGColor"><font class="heading2">Alternate Resource name</Font>
					<TD width="39%"><font class="heading2">Work Flow Type</Font></TD>
					<TD width="22%"><div align="center" class="heading2">Delete?</DIV></TD>
				</TR>
				<%#rows%>
				<TR>
						<TD Colspan=3 class="N-TopLineBG"><IMG SRC="?drawimage=images/spacer.gif" WIDTH="10" HEIGHT="1"></TD>
				</TR>
			</table>
			</div>
		</TD>
	</TR>
</TABLE>
